package com.bite.system.Service;

import com.bite.system.DTO.QuestionAddDTO;
import com.bite.system.DTO.QuestionDTO;
import com.bite.system.DTO.QuestionEditDTO;
import com.bite.system.VO.QuestionAddVO;
import domain.R;
import domain.TableDataInfo;

public interface QuestionService {
    TableDataInfo list(QuestionDTO questionDTO);

    R<Void> add(QuestionAddDTO questionAddDTO);

    R<QuestionAddVO> detail(Long questionId);

    R<Void> edit(QuestionEditDTO questionEditDTO);

    R<Void> delete(Long questionId);
}
